<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>书籍列表</title>
</head>

<body>
    <h1>书籍列表</h1>
    <table>
        <tr>
            <th>书名</th>
            <th>作者</th>
            <th>价格</th>
        </tr>
        {% for book in books %}
        <tr>
            <td>{{book.title}}</td>
            <td>{{book.author}}</td>
            <td>{{book.price }}</td>
        </tr>
        {% endfor %}
    </table>
</body>

</html>